﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 一对多
{
    public class Article
    {
        public long Id { get; set; }  //主键
        public string Title { get; set; }  //主题
        public string Content {  get; set; }  //内容
        public List<Comment> Comments { get; set; } = new List<Comment> { };  //文章的多条评论
    }
}
